<template>
	<view>
		<view class="top">

		</view>
		<view class="bottom">
			<view class="bottom-card1">
				<view class="erweima" style="text-align: center;">
					<view>核销码:WE343235V</view>
					<!-- <image v-if="ewm" src="../../../static/images/二维码.png"></image>
					<image v-else src="../../../static/images/二维码1.png"></image> -->
					<vue-qr text="WE34" :colorDark="ewm == true ? 'lightgray' : 'black'" size="150"></vue-qr>
				</view>
				<view class="font1">维修信息</view>
				<view class="weixiuxinxi">
					<view class="weixiuxinxi1">
						<view class="font2">
							维修单号:
						</view>
						<view class="font3">
							3535252
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							维修状态:
						</view>
						<view class="font3">
							3535252
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							车主姓名:
						</view>
						<view class="font3">
							3535252
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							联系方式:
						</view>
						<view class="font3">
							3535252
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							维修方式:
						</view>
						<view class="font3">
							3535252
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							取车位置:
						</view>
						<view class="font3">
							3535252
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							预约日期:
						</view>
						<view class="font3">
							3535252
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							提交日期:
						</view>
						<view class="font3">
							3535252
						</view>
					</view>
				</view>
				<view class="font1">
					车辆信息
				</view>
				<view class="weixiuxinxi">
					<view class="weixiuxinxi1">
						<view class="font2">
							车辆类型
						</view>
						<view class="font3">
							大客车
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							车牌号
						</view>
						<view class="font3">
							豫345323
						</view>
					</view>
					<view class="weixiuxinxi1">
						<view class="font2">
							整车照片:
						</view>
					</view>
					<u-album :urls="urls2"></u-album>
					<view class="weixiuxinxi1">
						<view class="font2">
							整车照片:
						</view>
					</view>
					<u-album :urls="urls3"></u-album>
				</view>
				<view class="qvxiaodingdan"><button @click="qxdd">取消订单</button></view>
			</view>
		</view>
		<uni-popup ref="popup" :mask-click="false">
			<view class="tanchu">
				<view class="dd">
					确认取消预约么?
				</view>
				<view class="btn">
					<view class="btn1">
						<button @click="close">确认</button>
					</view>
					<view class="btn1">
						<button @click="close">取消</button>
					</view>
				</view>
				
				
			</view>
		</uni-popup>

	</view>
</template>

<script>
	import VueQr from "vue-qr";
	export default {
		components:{VueQr},
		data() {
			return {
				type: 'center',
				ewm: true,
				urls2: [
					"https://cdn.uviewui.com/uview/album/1.jpg"
				],
				urls3: [
					"https://cdn.uviewui.com/uview/album/1.jpg"
				],

			}
		},
		methods: {

			close() {
				this.$refs.popup.close()
			},
			qxdd() {

				this.$refs.popup.open('center')
			}

		}
	}
</script>

<style>
	.top {
		width: 100%;
		height: 200px;
		background-color: #FF7500;
	}

	.bottom {
		margin: 0 20px;
	}

	.bottom-card1 {
		height: 800px;
		margin-top: -185px;
		background-color: #fff;
		border-radius: 10px;
	}

	.erweima {
		padding: 10px 0;
		border-bottom: solid 12px #F7F7F7;
	}

	.erweima>view {
		/* margin-left: 29%; */
	}

	.erweima>image {
		margin-left: 27%;
		width: 130px;
		height: 130px;
	}

	.font1 {
		padding-top: 10px;
		font-size: 18px;
		font-weight: 700;
		margin-left: 10px;
		border: solid 4px #F7F7F7;
	}

	.weixiuxinxi {
		margin: 0 20px;
	}

	.weixiuxinxi1 {
		margin-top: 10px;
		display: flex;
		justify-content: space-between;
	}

	.font2 {
		font-size: 15px;
	}

	.font3 {
		font-size: 15px;
		color: #DADADA;
	}

	.qvxiaodingdan {
		width: 100px;
		height: 30px;
		border-radius: 2px;
		margin-left: 240px;
	}
	.tanchu{
		width: 310px;
		height: 130px;
		border-radius: 5px;
		background-color: #F7F7F7;
	}
	.dd{
		padding: 15px 90px;
		font-size: 17px;
	}
	.btn{
		display: flex;
		justify-content: space-around;
	}
	.btn1{
		width: 100px;
		height: 20px;
		border-radius: 10px;
	}
</style>